{% extends "base.html" %}
{% load uni_form_tags %}


{% block title %} Modify the article information - {{ block.super }} {% endblock %}

{% block content %}

<h2> Modify the article information </h2> 
{% ifequal next 'no' %}

<form method="POST"  class="uniForm" action ="{% url article_update %}"> 
    <fieldset>
      {{ articleform|as_uni_form }}
   </fieldset>
    <input type="hidden" name = "dontvalidate" value = "no" />
    <input type="hidden" name = "article_id" value = "{{ article_id }}" />
  
 <div class="buttonHolder">
    <button type="submit" class="primaryAction">Update</button>
  </div>
</form>
{% endifequal %}

{% ifequal next 'yes' %}

your article is updated , <a href="{% url thought_refs %}">go back to the list ?</a> 
{% endifequal %}

{% endblock %}

